package org.jeecg.modules.practice.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableLogic;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: 从业人员表
 * @Author: jeecg-boot
 * @Date:   2023-12-09
 * @Version: V1.0
 */
@Data
@TableName("practice")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="practice对象", description="从业人员表")
public class Practice implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private java.lang.String id;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private java.lang.String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建日期")
    private java.util.Date createTime;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private java.lang.String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新日期")
    private java.util.Date updateTime;
	/**所属部门*/
    @ApiModelProperty(value = "所属部门")
    private java.lang.String sysOrgCode;
	/**从业人员名称*/
	@Excel(name = "从业人员名称", width = 15)
    @ApiModelProperty(value = "从业人员名称")
    private java.lang.String pracname;
	/**身份证号*/
	@Excel(name = "身份证号", width = 15)
    @ApiModelProperty(value = "身份证号")
    private java.lang.String idcard;
	/**性别*/
	@Excel(name = "性别", width = 15, dicCode = "sex")
	@Dict(dicCode = "sex")
    @ApiModelProperty(value = "性别")
    private java.lang.String sex;
	/**出生日期*/
	@Excel(name = "出生日期", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "出生日期")
    private java.util.Date birtday;
	/**邮箱*/
	@Excel(name = "邮箱", width = 15)
    @ApiModelProperty(value = "邮箱")
    private java.lang.String email;
	/**地址*/
	@Excel(name = "地址", width = 15)
    @ApiModelProperty(value = "地址")
    private java.lang.String address;
	/**学历代码*/
	@Excel(name = "学历代码", width = 15, dicCode = "education")
	@Dict(dicCode = "education")
    @ApiModelProperty(value = "学历代码")
    private java.lang.String education;
	/**手机号*/
	@Excel(name = "手机号", width = 15)
    @ApiModelProperty(value = "手机号")
    private java.lang.String mobile;
	/**准驾车型代码*/
	@Excel(name = "准驾车型代码", width = 15, dicCode = "driving")
	@Dict(dicCode = "driving")
    @ApiModelProperty(value = "准驾车型代码")
    private java.lang.String driving;
	/**驾驶证有效开始日期*/
	@Excel(name = "驾驶证有效开始日期", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "驾驶证有效开始日期")
    private java.util.Date drivliceStartDate;
	/**驾驶证有效开始日期*/
	@Excel(name = "驾驶证有效开始日期", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "驾驶证有效开始日期")
    private java.util.Date drivliceEndDate;
	/**照片地址*/
	@Excel(name = "照片地址", width = 15)
    @ApiModelProperty(value = "照片地址")
    private java.lang.String photoPath;
	/**从业资格代码*/
	@Excel(name = "从业资格代码", width = 15)
    @ApiModelProperty(value = "从业资格代码")
    private java.lang.String pracTypeCodes;
}
